<?php
include "sql.php";
$cha=$con->query("select * from userorder where mzhuangtai='1' and zhuangtai='0'");
$res=[];
$i=0;
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>快递信息</title>
</head>
<body>
    <div>
        <ol>
            <?php
                foreach($cha as $val){
                    $res[$i]=$val;
                    echo "<li>";
                    echo $res[$i]['xinxi'];
                    echo "</li>";
                    echo "<br>";
                    $i++;
                }
            ?>
        </ol>
    </div>
</body>
</html>